<!DOCTYPE html>
<html>

  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <title>积分记录</title>
    <!-- Bootstrap -->
    <link href="../assets/css/mui.min.css" rel="stylesheet">
    <link href="fonts/iconfont.css" rel="stylesheet">
    <link href="../assets/css/style.css" rel="stylesheet" />
    <link href="../assets/css/boss_content.css" rel="stylesheet" />
  </head>

  <body>
    <header id="header" class="mui-bar mui-bar-nav">
      <h1 class="mui-title">积分记录</h1>
      <button class="mui-action-back mui-btn mui-btn-blue mui-btn-link mui-btn-nav mui-pull-left">
      <span class="mui-icon mui-icon-left-nav"></span>返回</button>
      <a class="mui-pull-right headerright"><i class="icon iconfont icon-gengduo"></i></a>
    </header>
    <div class="mui-content">
      <div class="aggregate-time-list mui-row kuaibgColor jy_table_list">
        <div class="mui-col-xs-6 aggregate-time-active">积分领取记录</div>
        <div class="mui-col-xs-6">积分交换记录</div>
      </div>
      <div class="jy_contet_list">
        <div class="aggregate-date">
          <span class="aggregate-date-left"><i class="icon iconfont icon-houdongfangiconfont27"></i></span>
          <span class="aggregate-date-time">2016年12月21日</span>
          <span class="aggregate-date-right"><i class="icon iconfont icon-houdongfangiconfont28"></i></span>
        </div>
        <div class="jifenjilu-content">
          <div class="store-mingxi-list kuaibgColor mui-row">
            <div class="mui-col-xs-3 mingxi-name">王瑶</div>
            <div class="mui-col-xs-3 mingxi-payStyle">关注积分</div>
            <div class="mui-col-xs-3 mingxi-price">+20</div>
            <div class="mui-col-xs-3 mingxi-payStatus">18:20</div>
          </div>
          <div class="store-mingxi-list kuaibgColor mui-row">
            <div class="mui-col-xs-3 mingxi-name">王瑶</div>
            <div class="mui-col-xs-3 mingxi-payStyle">消费积分</div>
            <div class="mui-col-xs-3 mingxi-price">+20</div>
            <div class="mui-col-xs-3 mingxi-payStatus">18:20</div>
          </div>
          <div class="store-mingxi-list kuaibgColor mui-row">
            <div class="mui-col-xs-3 mingxi-name">王瑶</div>
            <div class="mui-col-xs-3 mingxi-payStyle">关注积分</div>
            <div class="mui-col-xs-3 mingxi-price">+20</div>
            <div class="mui-col-xs-3 mingxi-payStatus">18:20</div>
          </div>
          <div class="store-mingxi-list kuaibgColor mui-row">
            <div class="mui-col-xs-3 mingxi-name">王瑶</div>
            <div class="mui-col-xs-3 mingxi-payStyle">消费积分</div>
            <div class="mui-col-xs-3 mingxi-price">+20</div>
            <div class="mui-col-xs-3 mingxi-payStatus">18:20</div>
          </div>
        </div>
      </div>
      <div class="jy_contet_list hidden">
        <div class="aggregate-date">
          <span class="aggregate-date-left"><i class="icon iconfont icon-houdongfangiconfont27"></i></span>
          <span class="aggregate-date-time">2016年12月20日</span>
          <span class="aggregate-date-right"><i class="icon iconfont icon-houdongfangiconfont28"></i></span>
        </div>
        <div class="jifenjilu-content">
          <div class="store-mingxi-list kuaibgColor mui-row">
            <div class="mui-col-xs-3 mingxi-name">王瑶</div>
            <div class="mui-col-xs-3 mingxi-payStyle">600积分</div>
            <div class="mui-col-xs-3 mingxi-price">20元代金券</div>
            <div class="mui-col-xs-3 mingxi-payStatus">18:20</div>
          </div>
          <div class="store-mingxi-list kuaibgColor mui-row">
            <div class="mui-col-xs-3 mingxi-name">王瑶</div>
            <div class="mui-col-xs-3 mingxi-payStyle">600积分</div>
            <div class="mui-col-xs-3 mingxi-price">20元代金券</div>
            <div class="mui-col-xs-3 mingxi-payStatus">18:20</div>
          </div>
          <div class="store-mingxi-list kuaibgColor mui-row">
            <div class="mui-col-xs-3 mingxi-name">王瑶</div>
            <div class="mui-col-xs-3 mingxi-payStyle">600积分</div>
            <div class="mui-col-xs-3 mingxi-price">20元代金券</div>
            <div class="mui-col-xs-3 mingxi-payStatus">18:20</div>
          </div>
          <div class="store-mingxi-list kuaibgColor mui-row">
            <div class="mui-col-xs-3 mingxi-name">王瑶</div>
            <div class="mui-col-xs-3 mingxi-payStyle">600积分</div>
            <div class="mui-col-xs-3 mingxi-price">20元代金券</div>
            <div class="mui-col-xs-3 mingxi-payStatus">18:20</div>
          </div>
        </div>
      </div>
    </div>
    <script src="../assets/js/jquery.min.js"></script>
    <script src="../assets/js/mui.js"></script>
    <script type="text/javascript">
      // table切换选中第几个下面的第几个div显现
      $('.jy_table_list div').on('click', function() {
        var index = $(this).index();
        $('.jy_table_list div').removeClass("aggregate-time-active")
        $('.jy_table_list div').eq(index).addClass("aggregate-time-active")
        $('.jy_contet_list').addClass('hidden')
        $('.jy_contet_list').eq(index).removeClass("hidden")
      })
    </script>
  </body>

</html>